package com.example.bilibili_miaosha.service;

import com.example.bilibili_miaosha.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.bilibili_miaosha.vo.GoodsVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
* 弓川hello mybatisplus
 * @author gongchuan
 * @since 2022-04-01
 */
public interface IGoodsService extends IService<Goods> {

    /**
    * @Description: 获取商品列表
    * @Param:  无
    * @return:  商品列表
    * @Author: 弓川
    * @Date: 2022/4/1
    **/
    List<GoodsVO> findGoodsVo();

    /**
    * @Description: 根据goodsID获取goodsVO
    * @Param:
    * @return:
    * @Author: 弓川
    * @Date: 2022/4/1
    **/
    GoodsVO findGoodsVoByGoodsId(Long goodsId);
}
